import java.util.Scanner;

public class Tase {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int x = sc.nextInt();
        int y = sc.nextInt();
        int n = y / x;
        System.out.println(n * 5);

    }
}
